<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			.a{
				width: 200px;
				height: 200px;
				background: skyblue;
			}
		</style>
		<script src="js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<div class="page" :class="{a:isTrue}">
				<!-- 通过对象的方式决定是否存在某个类 -->
			</div>
		</div>
		<script type="text/javascript">
			var app=new Vue({
				el:"#app",
				data:{
					isTrue:true
				}
			})
		</script>
	</body>
</html>
